package org.web.ssm.model.wechatModel;

/**
 * Created by LUOLIANG on 2016/6/18.
 */
public class TulingMessage {
    /**
     * 返回码
     * 100000    文本类
     * 200000    链接类
     * 302000    新闻类
     * 308000    菜谱类
     */
    private String code;
    /**
     * 返回的文本
     */
    private String text;

    /**
     * 返回的URL，当请求带有连接的消息时使用
     */
    private String url;

    public TulingMessage() {
    }

    public String getCode() {
        return code;
    }

    @Override
    public String toString() {
        return "TulingMessage{" +
                "code='" + code + '\'' +
                ", text='" + text + '\'' +
                ", url='" + url + '\'' +
                '}';
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
